#!/usr/bin/env python3
# -*- coding: utf-8 -*-
b = bytes.fromhex

s_name =  "NGEE 160F0H~161FCH	007 Goldeneye (USA)"
sample = b("""27BDFFE8 3C0E8006 25CE7D30 308400FF AFAE0014 AFA00004 8FB80004 8FA80004
              3C018006 0018C880 00390821 240F00FF AC2F7D30 25090001 29210010 1420FFF6
              AFA90004 240A0001 3C018006 240B000A 240C0001 240D0005 AC2A7D6C A3AB0008
              A3AC0009 A3AD000A A3A4000B AFA00004 8FB80004 90AE0000 24A50001 03B87821
              A1EE000C 8FB90004 27280001 29010008 1420FFF7 AFA80004 AFA00004 8FA90014
              A1200000 8FAC0004 8FAA0014 258D0001 29A10004 254B0001 AFAD0004 1420FFF7
              AFAB0014 27B80008 8F010000 8FAE0014 240A00FE A9C10000 B9C10003 8F190004
              A9D90004 B9D90007 8F010008 A9C10008 B9C1000B 8FA80014 2509000C AFA90014
              A12A0000 03E00008 27BD0018""")

s_mask = b("""FFFFFFFF FFFF0000 FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFF0000 FFFFFFFF FFFFFFFF FFFFFFFF FFFF0000 FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF FFFFFFFF
              FFFFFFFF FFFFFFFF FFFFFFFF""")

symbol = (('+', 'fill buffer 80067D30 w/ SI write EEPROM command (5) for address A0', 0x6FFFF400),
          )

# Eliminate the function.
p_data = b''
